Make sure these don't return null and can be set in more rubyish manner.
Merge pull request #40 from moger777/fix_height_width

Make height/width not return null, be set with = methods instead of jquery calls.
Add Promise support to HTTP get/post/put/delete methods