added view to load and initialize JS