JS cleanup & docs .