Add basic JS handling