Use embedded javascript