Add missing directories to DOMAIN_METHODS for javascript (bug 844591)