js is not working even i loaded in by add resource