require js resources