Browser detection extension for scalejs