refs #1660 : modified - rearrange order between css and js
 - Contributed by outsideris