Refactor images loaded to use jquery

Remove Q dependency