added resource js