some js for /activity