javascript: add time function
javascript: quick & dirty compile time error on invalid FFI
Merge pull request #961 from raichoo/javascript

Javascript