updates
moved js to file