Java Script reference created