simplify prepare_controllers logic
added javascript section with casperjs requirement
JSController working, `iptest js` runs casperjs