Decoupled CSS and JS from main page