central js file server from view folder