Add some javascript to add Device