get JS resources