Moving CSS to common js file