Placed Javascript into file