Extending PR #23

Extending PR #23 and basically just rewriting the js for the datetime partial to support nil and to not be ugly as hell.
Using ISO8601 to ensure we dont have any more issues when trying to go from ruby datetime format to moment.js formats. This one is supported by both by default.