now registering javascript, no need to have a js file on the side part2