Moved everything to JS, ember-cli coffeescript preprocessor is broken

Signed-off-by: Alessandro D'Aquino (elara) <alex@midokura.com>