adding new javascript resource