Added support for boolean values to the qa_js function
Added the qa_js tests