JS modified