js modifications