moved js to its own combined file