adding dependency to async js