moved js to proper folder instead of being messy