add modifications to js