fixed js functions for logo and tagline placement