few more functions added to spoc_js, can now allocate and transfer data to gpu as well as compile kernel written in Sarek