Use MarionetteJS to simplify code