Mostly Style fixes

also investigating javascript problem