Javascript memory profiling

fix some image src & style error