Moved Class def for JS_Vector to header file
Fixed a small logic error in tasks.py