Firstly, there was a phone interview; this consisted of simple questions about HTML, CSS and JavaScript; so knowledge about web programming, the difference between the deferreds and the promises, a little CSS knowledge, followed by a short language specific test over JavaScript.
For the second phase, I was asked to come with a complete solution for a task that involved building a single page app with some custom functionality, but with a focus on performance, functionality, scalability, reusability and maintainability. The first version of my solution, although functional, was rejected, but my second version, with a clear MVC architecture implemented, was exactly what they were expecting in the first instance, and shortly after that an offer was made to join the team as contractor.