I am not sure if this is a right place to place the javascript.
Please correct me