Refactored controller, now the control is only in ia.js. Not really tested this though c: