add resource
added JS