Fix wrong variable name
Add watchdog debug info
Add test code for js and css adding