Took style and js out of main