Extracted js to file