add javascript to resources