css and js made rails friendly