Build: Execute all karma tasks only if we have BS

Otherwise use only phantomjs