removed JS declarations at the end of file