externalized js