moved home view to the js directory