add js-file and attaching at the page