added js by tag rather than automatically