use standalone js file for home page