javascript and other resources