fixed js hint errors for 404

Fixed js hint errors for 404