Convert Styleguide cs -> js
Merge pull request #656 from lonelyplanet/if-styleguide-to-js

Convert Styleguide cs -> js