Fixed js code being in a relative path.