js script for auth requests