enabled javascript to fix buttons