changing color directly in the javascript resource