Take styling out of .js