moved mock JS to application.js

Signed-off-by: Predrag Kanazir <predrag@arraystudio.com>