Even less huge ugly block of js in the main page