A Javascript and HTML5-based system to acquire sensor data out of a smartphones browser, use this data to train a classifier and provide the classifier as a JavaScript so that it can be embedded into a website.