split javascript files from HTML