Made api work with jsonp and get [MJ-456]

All test pass.