javascript change width of div dynamically

full size keyboard case and pcb