Separate style from js