js demo update

using js.html.* types.
using requestAnimationframe for loop.
added js build to hxml.