Test js layout