Replaced jQuery promises with Q promises. Fixes #23