cleanup, fix margin js