js: Add battery and change sensor type IDs to strings; still needs LED class