Added js for GUI blocks