Added support for JavaScript views.