got js file working