JS: update the trivial build script for the vp8 encode package

Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>