Now accepts env config option to separate development from production

Implements #62 
FYI JavaScript is correctly capitalised with capital J and S.