updated module to work better on node-webkit
status code 304 is success, multiple post types
added case for webkit prefixed requestAnimationFrame
added for loops