added the js script in itself