fixed some js sources