[Improvement - LOW] Added support for boolean values to the qa_js function

Although this technically affects business logic the core does not use this function for boolean values. I also don't think anyone is using this for boolean values because they just won't get any so it seems to be a safe move.

Hopefully the title helps in categorization and prioritization.

PS: Could be added to a 1.6.4 release