replaced js with ghpages js code