added js with location