mainjs doesn't work