Fix double action bug (rendering bootstrap js twice)