Adding JavaScript as favorite path